package com.just.recruitback.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author baibaiwuchang
 * @since 2020-07-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Resume implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 姓名
     */
    private String name;

    /**
     * 年龄
     */
    private Integer age;

    /**
     * 性别
     */
    private String sex;

    /**
     * 手机号
     */
    private String phone;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 地址
     */
    private String address;

    /**
     * 毕业院校
     */
    private String school;

    /**
     * 毕业时间
     */
    private String endTime;

    /**
     * 实习经历
     */
    private String experience;

    /**
     * 自我介绍
     */
    private String introduce;

    /**
     * 获奖经历
     */
    private String awards;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    @TableField(value = "`release`")
    private Integer release;

    @TableField(exist = false)
    private List<Skill> skills;


}
